package org.xxpay.pay.channel.testpay;

import com.alibaba.fastjson.JSONObject;
import org.springframework.stereotype.Component;
import org.springframework.util.Assert;

/**
 * @author: dingzhiwei
 * @date: 18/5/16
 * @description: 压力测试通道支付配置
 */
@Component
public class TestpayConfig {

    public static final String CHANNEL_NAME = "testpay";
    public static final String RETURN_VALUE_SUCCESS = "success";
    public static final String RETURN_VALUE_FAIL = "fail";

    public TestpayConfig(){}

    public TestpayConfig(String payParam) {
        Assert.notNull(payParam, "init testpay config error");
        JSONObject object = JSONObject.parseObject(payParam);

    }

}
